package br.com.canvasForAll.model.repository;

import java.util.Collection;

import javax.ejb.Local;

import br.com.canvasForAll.model.entity.Canvas;
import br.com.canvasForAll.model.entity.Perfil;
import br.com.canvasForAll.model.generic.repository.GenericCrudRepository;

@Local
public interface CanvasRepository extends GenericCrudRepository<Canvas> {
	
	public Canvas obterPorIds(Long id, Long idMobile) throws Exception;

	public Collection<Canvas> obterCanvasResponsavel(Perfil perfil) throws Exception;
	
	public Collection<Canvas> obterCanvasParticipante(Perfil perfil) throws Exception;
	
	public Collection<Long> obterIdCanvasParticipante(Perfil perfil) throws Exception;
	
	public Collection<Canvas> estruturaCanvasPerfil(Collection<Long> idCanvas) throws Exception;
	
}
